<template>
  <div>
    <h1>这是一个自定义组件</h1>
    <p>{{ message.height }}</p>
    <p>{{ message.width }}</p>
  </div>
</template>

<script setup>
 
const props = defineProps({
  message: {
    type: Object,
  }
});
</script>

<style scoped>
h1 {
  color: #42b983;
}
</style>